-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove CosmosDB database provider #8116
Conversation
This is part of a refactor of the data layer to simplify the design. The CosmosDB implementation is complicated and unused so we're removing it. Signed-off-by: Ryan Nowak <[email protected]>
provider: "cosmosdb" | ||
cosmosdb: | ||
# Create your own SQL API Cosmos DB account and set url in this configuration or to RADIUS_STORAGEPROVIDER_COSMOSDB_URL environment variable | ||
url: https://radius-eastus-test.documents.azure.com:443/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it best to just remove this file. There's a bunch of Azure-specific stuff in here that's not relevant. I can't think of a scenario where this is used.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8116 +/- ##
==========================================
+ Coverage 59.28% 59.66% +0.37%
==========================================
Files 580 577 -3
Lines 38983 38573 -410
==========================================
- Hits 23112 23013 -99
+ Misses 14220 13914 -306
+ Partials 1651 1646 -5 ☔ View full report in Codecov by Sentry. |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
|
||
``` | ||
curl --location --request GET 'http://localhost:8080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/environments/?api-version=2023-10-01-preview' | ||
``` | ||
|
||
1. You should also be able to see all changes in Cosmos DB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should we update this to point to etcd (and later to postgres once the work completes) instead of deleting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no straightforward way to do this with etcd.
What do you think about making this part of the postgres work? @superbeeny and I talked about updating the dev instructions as part of that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that sounds good
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Description
This is part of a refactor of the data layer to simplify the design. The CosmosDB implementation is complicated and unused so we're removing it.
Type of change
Contributor checklist
Please verify that the PR meets the following requirements, where applicable: